Skip to content

Conversation

@cloverhearts
Copy link
Member

What is this PR for?

The code for the notification pop-up is not stable.
Sometime when response to slow for backend.
Then the permission box and the dialogue open together.

What type of PR is it?

Bug Fix , Improvement

Todos

  • changed method name (getBlockNotAuthenticatedUserErrorMsg)
  • permission dialog pop-up change logic.
  • added check logic for anonymous user in checkIfUserIsAnon method

What is the Jira issue?

https://issues.apache.org/jira/browse/ZEPPELIN-1875

How should this be tested?

  1. when you do have turn on the shiro and login and click to note permission button.
  2. or turn off the shiro.

Screenshots (if appropriate)

dialog

Questions:

  • Does the licenses files need update? no
  • Is there breaking changes for older versions? no
  • Does this needs documentation? no

@AhyoungRyu
Copy link
Contributor

@cloverhearts Thanks for quick fixing and improvement. I think it's my bad.. Let me test this!

But Selenium test failure looks relevant with this change like below. Could you take a look?

Results :

Tests in error: 
  AuthenticationIT.testGroupPermission:192->AbstractZeppelinIT.pollingWait:96 » Timeout

Tests run: 18, Failures: 0, Errors: 1, Skipped: 0

This is the screenshot taken when the error occurs
copy

@cloverhearts
Copy link
Member Author

@AhyoungRyu Okay, I will check it.
Thank you for your feedback.

@cloverhearts
Copy link
Member Author

fixed.
@AhyoungRyu Could you please review again? :)

@AhyoungRyu
Copy link
Contributor

@cloverhearts yup. Thanks!

@AhyoungRyu
Copy link
Contributor

Tested this branch and checked the verbose forbidden error messages(my bad..) are totally gone when I turned off Shiro. Thanks @cloverhearts!
LGTM 👍

@Leemoonsoo
Copy link
Member

Tested and LGTM

@AhyoungRyu
Copy link
Contributor

Then will merge into master if there are no more comments

@asfgit asfgit closed this in f83d012 Jan 3, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants